const express = require("express");
const compression = require("compression")
const app = new express();

// 一定要写在静态文件托管前面
app.use(compression());
app.use(express.static("./dist"));


app.listen(81, () => {
    console.log("server running at http://127.0.0.1")
})